package com.wuzheng.wisgo.sanitation.cloud.repository.entity.person;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author：hibon
 * @date：Created in 2019-09-22
 * @description：用户信息
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "User", description = "用户信息")
@TableName("san_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String name;

    /**
     * 工号
     */
    @ApiModelProperty(value = "工号")
    private String code;

    /**
     * 客户ID
     */
    @ApiModelProperty(value = "客户ID")
    @TableField("customer_id")
    private String customerId;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 省市区code
     */
    @ApiModelProperty(value = "省市区code")
    @TableField("region_code")
    private String regionCode;

    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    @TableField("customer_name")
    private String customerName;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    @Override
    public String toString() {
        return "User{" +
                ", id=" + id +
                ", name=" + name +
                ", code=" + code +
                ", customerId=" + customerId +
                ", password=" + password +
                ", regionCode=" + regionCode +
                ", customerName=" + customerName +
                "}";
    }
}
